package com.itheima.fuxichengxu;

public class sum3 {
    public static void main(String[] args) {
        int sum = 0;
        for (int i = 1; i <= 5 ; i++) {
            if(i <= 5){
                sum += i;
            }
        }
        System.out.println(sum);
    }
}
